import request from '@/utils/request'

// 获取验证码
export const loginMa = (key) => request({
    url: '/manager/captcha',
    method: 'get',
    params: {
        key
    }
})

// 登陆按钮
export const login = (data) => request.post('/manager/login', data)